package com.ruoyi.personnelMatters.domain;

import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class SalaryChangeScanInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;
    //薪级扫描信息id
    private int personSalaryChangeId;
    //用户id
    private Long userId;
    //员工姓名
    private String userName;
    //原先薪级id
    private Long oldSalaryId;
    //修改后的薪资等级
    private Long newSalaryId;

    private String oldPayLevel;
    private String newPayLevel;
    //生效日期
    private Date salaryChangeEffectiveDate;
    //创建日期
    private Date createTime;
    //是否执行过
    private int executed;

    public int getPersonSalaryChangeId() {
        return personSalaryChangeId;
    }

    public void setPersonSalaryChangeId(int personSalaryChangeId) {
        this.personSalaryChangeId = personSalaryChangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getOldSalaryId() {
        return oldSalaryId;
    }

    public void setOldSalaryId(Long oldSalaryId) {
        this.oldSalaryId = oldSalaryId;
    }

    public Long getNewSalaryId() {
        return newSalaryId;
    }

    public void setNewSalaryId(Long newSalaryId) {
        this.newSalaryId = newSalaryId;
    }

    public Date getSalaryChangeEffectiveDate() {
        return salaryChangeEffectiveDate;
    }

    public void setSalaryChangeEffectiveDate(Date salaryChangeEffectiveDate) {
        this.salaryChangeEffectiveDate = salaryChangeEffectiveDate;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public int getExecuted() {
        return executed;
    }

    public void setExecuted(int executed) {
        this.executed = executed;
    }

    public String getOldPayLevel() {
        return oldPayLevel;
    }

    public void setOldPayLevel(String oldPayLevel) {
        this.oldPayLevel = oldPayLevel;
    }

    public String getNewPayLevel() {
        return newPayLevel;
    }

    public void setNewPayLevel(String newPayLevel) {
        this.newPayLevel = newPayLevel;
    }

    @Override
    public String toString() {
        return "SalaryChangeScanInfo{" +
                "personSalaryChangeId=" + personSalaryChangeId +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", oldSalaryId=" + oldSalaryId +
                ", newSalaryId=" + newSalaryId +
                ", oldPayLevel='" + oldPayLevel + '\'' +
                ", newPayLevel='" + newPayLevel + '\'' +
                ", salaryChangeEffectiveDate=" + salaryChangeEffectiveDate +
                ", createTime=" + createTime +
                ", executed=" + executed +
                '}';
    }
}
